package com.yungui.consul.consumer.service;

import com.yungui.response.BaseResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "consul-provider")
public interface RemoteService {
    @RequestMapping("/test/demo1")
    public BaseResponse demo1(@RequestParam(value = "name") String name);

}
